package com.jiyun.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName( "recharge_details")
@Data
public class RechargeDetails {

  //  @Column(name = "id", columnDefinition = "自增主键，唯一标识每条充值记录")
 @TableId(type = IdType.AUTO)
    private Integer id;

   // @Column(name = "type", columnDefinition = "充值类型")
    private String type;
    private String userName;

   // @Column(name = "amount", columnDefinition = "充值金额")
    private BigDecimal amount;

   // @Column(name = "time", columnDefinition = "充值时间")
    private Date time;

    //@Column(name = "balance", columnDefinition = "充值后的余额")
    private BigDecimal balance;

}
